import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import Fragment from "vue-fragment";
import PermissionPlugin from "./directive";
import "element-ui/lib/theme-chalk/index.css";
import "@/assets/styles/index.scss";
import "@/router/sentinel";
import * as echarts from "echarts";

Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
Vue.use(Fragment.Plugin);
Vue.use(PermissionPlugin);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
